#coding=utf-8
i=0
while i<9:
    i=i+1
    print(i,"x",i,"=",i*i,"\t",end="")